/**
 * 
 */
package com.situying.example.spring.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author ysitu
 *
 */
@Controller
public class TestController {
	
	@RequestMapping(value="test.do")
	public String test(Model model)
	{
		model.addAttribute("test", "This is a test!");
		return "test";
	}
}
